package tgc.edu.xzy.repository;

import java.util.List;

import org.springframework.stereotype.Repository;

import tgc.edu.xzy.custom.CommonRepository;
import tgc.edu.xzy.entity.Grade;

@Repository
public interface GradeRepository extends CommonRepository<Grade, Integer>{

	public List<Grade> findByStudentId(Integer id);

	public List<Grade> findByStudentTbClassId(Integer xsid);

	public Grade findByStudentIdAndCourseId(Integer xs_id, Integer kc_id);


}
